html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    background: #f3f3f4;
}

html, body, button {
    font: 14px Helvetica, "Open Sans", sans-serif;
}


.custom-container{
    width: 320px;
    height: 100%;
    overflow: hidden;
}

#main h2 {
    margin: 0 0 1rem;
}

#main img {
    max-width: 85%;
}

/* STOP ANIMATION */

.stop {
    -webkit-animation-play-state:paused;
    -moz-animation-play-state:paused;
}

/* FILTERS */

#filterContainer{

    margin: 10px 10px;
    margin-left: 25%;
    width: 70%;
    height: 100%;
}

#filters{
    overflow: hidden;
    list-style: none;
    overflow-y: scroll;
    height: 100%;
    margin: 0;
}

#filters li{
    margin: 4px 0 0 4px;
}


/* Last list element show fix */
#filters li:last-child{
    margin-bottom: 55px;
}


#filters li:last-child a{
    border-bottom: none;
}



#filters li a{
    height: 43px;
    display: block;
    position: relative;
    padding-left:65px;
    text-decoration: none !important;
    font-weight: bold;
    color: rgb(0, 133, 175);
    line-height: 42px;
    text-align: left;
    border-bottom: 1px solid;
    padding-bottom: 4px;
    font-size: 16px;
    background-repeat: no-repeat;
    text-transform: uppercase;

}

#filters li a.active{
    cursor:default;

}

#filters li a.active:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 43px;
    top: 0px;
    left: 0px;
    background-color: #878787;
    opacity: 0.2;
}

/* The filters */

#filters li #normal{		background-image:url('../img/filters/normal.jpg'); }
#filters li #vintage{		background-image:url('../img/filters/vintage.jpg'); }
#filters li #lomo{			background-image:url('../img/filters/lomo.jpg'); }
#filters li #clarity{		background-image:url('../img/filters/clarity.jpg'); }
#filters li #sinCity{		background-image:url('../img/filters/sinCity.jpg'); }
#filters li #sunrise{		background-image:url('../img/filters/sunrise.jpg'); }
#filters li #crossProcess{	background-image:url('../img/filters/crossProcess.jpg'); }
#filters li #orangePeel{	background-image:url('../img/filters/orangePeel.jpg'); }
#filters li #love{			background-image:url('../img/filters/love.jpg'); }
#filters li #grungy{		background-image:url('../img/filters/grungy.jpg'); }
#filters li #jarques{		background-image:url('../img/filters/jarques.jpg'); }
#filters li #pinhole{		background-image:url('../img/filters/pinhole.jpg'); }
#filters li #oldBoot{		background-image:url('../img/filters/oldBoot.jpg'); }
#filters li #glowingSun{	background-image:url('../img/filters/glowingSun.jpg'); }
#filters li #hazyDays{		background-image:url('../img/filters/hazyDays.jpg'); }
#filters li #herMajesty{	background-image:url('../img/filters/herMajesty.jpg'); }
#filters li #nostalgia{		background-image:url('../img/filters/nostalgia.jpg'); }
#filters li #hemingway{		background-image:url('../img/filters/hemingway.jpg'); }
#filters li #concentrate{	background-image:url('../img/filters/concentrate.jpg'); }


/* Custom scrollbars for webkit */


#filterContainer ::-webkit-scrollbar {
    width: 4px;
    background-color: rgba(100,100,100,0.2);
    border-radius: 2px;
}


#filterContainer ::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #00C176;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#filterContainer ::-webkit-scrollbar-thumb:window-inactive {
    background: #aaa;
}

.invisible{
    display: none;
}

.flat-btn-container{
    width: 100%;
}

#image_presenter{
    display: block;
}

#photo-container{

}

#photo{
    margin-left: auto;
    margin-right: auto;
}

canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: auto;
}

/*
    Loosely based on Firefox-OS-Boilerplate-App: https://github.com/robnyman/Firefox-OS-Boilerplate-App
*/


/**
 * This work is licensed under the Creative Commons
 * Attribution 3.0 Unported License. To view a copy
 * of this license, visit http://creativecommons.org/licenses/by/3.0/.
 *
 * Author: Girish Sharma <scrapmachines@gmail.com>
*/



.layout-list > li:first-child{
    float: none;
    width: 100%;
    height: 40px;
    background-color: rgb(0, 179, 100);
}

.layout-list{
    width: 960px;
    height: 100%;
    margin-left: -320px;
}

.layout-list > li{
    float:left;
    position: relative;
    overflow: hidden;
    width: 320px;
    height: 100%;
}


.top-nav{
    margin-left: 320px;
    width: 320px;
    background-color: #00C176;
    height: 40px;
}

.top-nav a{
    float: left;
    width: 25%;
    display: block;
    height: 40px;
    line-height: 40px;
    font-family: "Helvetica";
    font-size: 24px;
    text-decoration: none;
    background-color: #00c176;
    color: #FFFFFF;
    text-align: center;
}




.top-nav a:active{
    text-decoration: none;
    color: #ffffff;
    background-color: #00aaff;

}

.splash-div{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.splash-text{
    font-size: 24px;
    line-height: 40px;
    color: rgb(0, 139, 117);
    margin: 25px;
    display: inline-block;
    line-height: 55px;
    text-align: center;
    white-space: pre-line;
    display: block;
}
.type1 {
    color: rgb(27, 185, 154);
    font-size: 40px;
    border: 4px dashed rgb(162, 182, 13);
    padding: 0 4px;
    text-transform: uppercase;
}

.type2 {
    color: rgb(51, 158, 137);
    font-size: 40px;
    border: 4px dashed rgb(0, 176, 209);
    padding: 0 4px;
    text-transform: uppercase;
}

.type3 {
    color: rgb(27, 185, 154);
    font-size: 40px;
    border: 4px dashed rgb(162, 182, 13);
    padding: 0 4px;
    text-transform: uppercase;
}

.smiley1{
    font-size: 40px;
    color: rgb(216, 19, 19);
    position: relative;
    top: -.2em;
    font-family: monospace;
    display: inline-block;
    /*
    padding: 1em;
    margin: -1em;
    */
}

/* smiley animation swing */

/* FROM http://daneden.me/animate/ */

.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s;}
.animated{animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;}
@-webkit-keyframes swing {
    20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; }
    20% { -webkit-transform: rotate(105deg); }
    40% { -webkit-transform: rotate(80deg); }
    60% { -webkit-transform: rotate(95deg); }
    80% { -webkit-transform: rotate(85deg); }
    100% { -webkit-transform: rotate(90deg); }
}

@-moz-keyframes swing {
    20% { -moz-transform: rotate(105deg); }
    40% { -moz-transform: rotate(80deg); }
    60% { -moz-transform: rotate(95deg); }
    80% { -moz-transform: rotate(85deg); }
    100% { -moz-transform: rotate(90deg); }
}

@-o-keyframes swing {
    20% { -o-transform: rotate(105deg); }
    40% { -o-transform: rotate(80deg); }
    60% { -o-transform: rotate(95deg); }
    80% { -o-transform: rotate(85deg); }
    100% { -o-transform: rotate(90deg); }
}

@keyframes swing {
    20% { transform: rotate(105deg); }
    40% { transform: rotate(80deg); }
    60% { transform: rotate(95deg); }
    80% { transform: rotate(85deg); }
    100% { transform: rotate(90deg); }
}

.swing {
    -webkit-animation-name: swing;
    -moz-animation-name: swing;
    -o-animation-name: swing;
    animation-name: swing;
}


.download-image{
    text-decoration: none;
}


a:hover{
    text-decoration: none;
}

a:active{
    text-decoration: none;
}




.shake-animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s;}
.shake-animated{animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite;}

@-webkit-keyframes shake {
    0%, 100% {-webkit-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-2px);}
    20%, 40%, 60%, 80% {-webkit-transform: translateX(2px);}
}
@-moz-keyframes shake {
    0%, 100% {-moz-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-2px);}
    20%, 40%, 60%, 80% {-moz-transform: translateX(2px);}
}

@-o-keyframes shake {
    0%, 100% {-o-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-2px);}
    20%, 40%, 60%, 80% {-o-transform: translateX(2px);}
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-2px);}
    20%, 40%, 60%, 80% {transform: translateX(2px);}
}

.shake {
    -webkit-animation-name: shake;
    -moz-animation-name: shake;
    -o-animation-name: shake;
    animation-name: shake;
}


@media (max-width: 320px) {
    body:after {
        content: 'widescreen';
        display: none;
    }
}



.switch {
    width: 30px;
    height: 23px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 9px;
    cursor: pointer; }
.switch.on:after {
    transform: rotate(-45deg) translate(7px, -8px); }
.switch.on:before {
    transform: rotate(45deg) translate(5px, 5px); }
.switch .menu {
    width: 100%;
    height: 5px;
    background: #ffffff;
    margin: 4px auto;
    transition: all 0.3s;
    backface-visibility: hidden; }
.switch.on .menu {
    opacity: 0; }
.switch:before, .switch:after {
    content: "";
    display: block;
    height: 5px;
    background: #ffffff;
    transition: all 0.3s;
    backface-visibility: hidden; }


#info-splash-text{


    /* fix overflow scroolbar width */
    margin-right: 0;
    padding-right: 18px;



    font-size: 12px;
    line-height: 14px;
    text-align: justify;
    overflow: hidden;
    overflow-y: scroll;
    height: 100%;
    display: block;

}

#info-splash-text .type1{
    line-height: 60px;
    font-size: 36px;
    width: 100%;
    text-align: center;
}

#info-splash-text .type2{
    width: 100%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
}

#info-splash-text em{
    font-size: 1.2em;
    color: #dd1144;
    text-decoration: none;
    font-family: monospace;
    font-style: normal;
}

#info_container{
    width: 240px;
    display: block;
    height: 100%;
}



#info_container ::-webkit-scrollbar {
    width: 4px;
    background-color: rgba(100,100,100,0.2);
    border-radius: 2px;
}


#info_container ::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #00C176;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

#info_container ::-webkit-scrollbar-thumb:window-inactive {
    background: #aaa;
}
